.pro-cate {
  margin: 10px 0;
}

html {
  background: #f5f5f5;

}

.pro-cate-area {
  background: #FFF;
  margin-bottom: 20px;

  .p-title {
    float: left;
    text-align: left;
    width: 106px;
    color: #666;
    line-height: 35px;


  }

  .p-values {
    line-height: 35px;
    float: left;
    width: 1046px;
    position: relative;
  }

  .p-expand {
    width: 985px;
    max-height: 105px;
    overflow: auto;
    overflow-x: hidden;

    li {
      float: left;
      white-space: nowrap;
      overflow: hidden;
      margin-right: 40px;
      position: relative;

      &.selected a {
        color: #ca141d;
      }

      a {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 106px;
        padding-left: 22px;
        color: #333;
        display: inline-block;
        vertical-align: top;
        position: relative;

        &:hover {
          color: #ca151e;
        }
      }
    }
  }
}

.pro-cate-attr {
  width: 1152px;
  margin: 0 auto;
  position: relative;
  border-bottom: 1px solid #eaeaea;

  &:last-child {
    border-bottom: none;
  }

}


.pro-cate-sort {
  width: 1152px;
  margin: 0 auto;


  .p-title {
    width: 96px;
  }

  .p-expand li {
    margin-right: 50px;

    > a {
      color: #333;
      display: inline-block;
      vertical-align: top;
      position: relative;
      padding-left: 0;

    }
  }
}

.sort-price {
  padding-right: 20px;

  s {
    position: absolute;
    overflow: auto;
    top: 11px;
    right: 2px;
    margin: 0;
    width: 8px;
    height: 14px;

    &::before {
      content: "";
      width: 0;
      height: 0;
      border-left: 3px solid transparent;
      border-right: 3px solid transparent;
      border-bottom: 5px solid #999;
      display: block;
    }

    &:after {
      content: "";
      width: 0;
      height: 0;
      border-left: 3px solid transparent;
      border-right: 3px solid transparent;
      border-top: 5px solid #999;
      display: block;
      margin-top: 2px;
    }
  }
}

.sort-desc .sort-price s:after {
  border-top: 5px solid #ca141d;
}

.sort-asc .sort-price s:before {
  border-bottom: 5px solid #ca141d;
}


// 列表区域
.pro-list {
  width: 1200px;
  background: 0;
  padding-bottom: 20px;

  ul {
    width: 1210px;
  }

  li {
    float: left;
    width: 242px;

    a {
      display: block;
      margin-bottom: 10px;
      background: #FFF;
      width: 200px;
      padding: 0 16px;
      height: 352px;
      position: relative;
      text-align: left;
      overflow: hidden;
      -webkit-transition: all .2s linear 0s;
      -moz-transition: all .2s linear 0s;
      -ms-transition: all .2s linear 0s;
      -o-transition: all .2s linear 0s;
      transition: all .2s linear 0s;

      &:hover {
        box-shadow: 0 10px 15px rgba(0,0,0,0.07);
        transform: translate3d(0px,-2px,0px);
        z-index: 2;
      }
    }

    .p-img {
      text-align: center;
      margin-top: 30px;

      img {
        vertical-align: top;
        width: 180px;
        height: 180px;
      }
    }

    .p-name {
      line-height: 20px;
      overflow: hidden;
      color: #333;
      font-size: 14px;
      max-height: 40px;
      margin-top: 8px;
      margin-bottom: 8px;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    .p-price {
      margin-bottom: 8px;
      font-size: 18px;

      b {
        font-weight: normal;
        line-height: 24px;
        float: left;
        color: #ca141d;
      }

      span {
        width: 58px;
        height: 14px;
        line-height: 14px;
        font-size: 12px;
        text-align: center;
        color: #68beff;
        border: 1px solid #84c9fd;
        float: left;
        border-radius: 10px;
        margin-left: 4px;
        margin-top: 4px;
      }
    }

    .p-label {
      margin-bottom: 8px;
      height: 16px;
      overflow: hidden;

      span {
        padding: 0 5px;
        line-height: 14px;
        text-align: center;
        color: #ca141d;
        border: 1px solid #d5434a;
        float: left;
        margin-right: 4px;
      }
    }

    .p-comment {
      color: #999;
      height: 14px;
      line-height: 14px;
      overflow: hidden;

      em {
        margin-right: 8px;
        font-style: normal;
        font-weight: 400;
      }
    }

    .p-tag {
      position: absolute;
      width: 100%;
      top: 0;
      left: 0;
      text-align: center;

      span {
        display: inline-block;
        padding: 0 8px;
        margin: 0 auto;
        height: 18px;
        line-height: 18px;
        color: #fff;
        border-radius: 0 0 5px 5px;
        overflow: hidden;

        background-color: #68BEFF;
      }
    }
  }
}


// 分页区域
.page {
  text-align: right;

  &-area{
    display: inline-block;
    height: 20px;
  }
}
